projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30387b
)
Msroute: fix endianness problem.
author
robertl
<robertl>
Fri, 4 Nov 2005 19:43:39 +0000
(19:43 +0000)
committer
robertl
<robertl>
Fri, 4 Nov 2005 19:43:39 +0000
(19:43 +0000)
msroute.c
patch
|
blob
|
history
diff --git
a/msroute.c
b/msroute.c
index ae63e4e7aeb8e75e9fb1961130487fd84044d2c8..4cb5f932b42c207c8c7f77cc673d99172a2d8987 100644
(file)
--- a/
msroute.c
+++ b/
msroute.c
@@
-207,7
+207,7
@@
ole_find_property(const char *property)
len = min(OLE_MAX_NAME_LENGTH, item->name_size / 2);
for (j = 0; j < len; j++)
- buff[j] =
item->name[j]
;
+ buff[j] =
le_read16(&item->name[j])
;
buff[j] = '\0';
if (case_ignore_strcmp(buff, property) == 0)